Skip to content

Commit

Permalink
output the SAML attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuss committed Jan 28, 2022
1 parent 31a9579 commit f189932
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ If a provider or role hasn't been created or configured yet, please follow the c
const { data } = e.response;
if (data) {
const { context } = data;
if (context && context.attributes) {
warning(`The following SAML attributes were sent:
${Object.entries(context.attributes).map(([k, v]) => ` - ${k}: ${v}`)}
`);
}
if (context && context.org && context.repo && context.configFile) {
if (context.repo !== repo) {
warning(`The SAML.to configuration for \`${org}\` is managed in a separate repository:
Expand Down

0 comments on commit f189932

Please sign in to comment.