Skip to content
Snippets Groups Projects
Verified Commit 0c9a742f authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: OAuth authn

parent 436c9764
No related branches found
No related tags found
No related merge requests found
Pipeline #48704 passed
......@@ -141,7 +141,7 @@ const StepData: React.FC<any> = ({ register, errors }) => {
export const FdoCreate: React.FC<IResourceComponentsProps> = () => {
const identity = useGetIdentity<any>()
const accessToken = identity.data?.data?.account?.access_token
const accessToken = identity.data?.data?.account?.accessToken
console.log('accessToken: ', accessToken)
const formRet = useStepsForm<any, HttpError, any>({ defaultValues: { repository: '', profile: '' }, refineCoreProps: { meta: { headers: { Authentication: `Bearer ${accessToken}` } } } })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment