feat: Add OIDC debug mode
This commit is contained in:
@@ -16,6 +16,7 @@ const initialState = {
|
||||
isSubmitting: false,
|
||||
isSubmittingWithOidc: false,
|
||||
error: null,
|
||||
debugLogs: null,
|
||||
pendingToken: null,
|
||||
step: null,
|
||||
termsForm: {
|
||||
@@ -91,6 +92,12 @@ export default (state = initialState, { type, payload }) => {
|
||||
isSubmittingWithOidc: false,
|
||||
error: payload.error,
|
||||
};
|
||||
case ActionTypes.WITH_OIDC_AUTHENTICATE__DEBUG:
|
||||
return {
|
||||
...state,
|
||||
isSubmittingWithOidc: false,
|
||||
debugLogs: payload.logs,
|
||||
};
|
||||
case ActionTypes.AUTHENTICATE_ERROR_CLEAR:
|
||||
return {
|
||||
...state,
|
||||
|
||||
Reference in New Issue
Block a user