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

WIP: OAuth authn

parent 0c9a742f
No related branches found
No related tags found
No related merge requests found
Pipeline #48710 failed
......@@ -141,11 +141,11 @@ const StepData: React.FC<any> = ({ register, errors }) => {
export const FdoCreate: React.FC<IResourceComponentsProps> = () => {
const identity = useGetIdentity<any>()
console.log("identity", identity);
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}` } } } })
console.log('formRet', formRet)
const {
saveButtonProps,
refineCore: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment