chi2labs / cognitoR

CognitoR provides easy integration of Shiny with AWS Cognito Authentication.
22 stars 10 forks source link

config.yml parsing issue? #11

Closed SVPA-PeterTat closed 4 years ago

SVPA-PeterTat commented 4 years ago

Awesome tool. Just want to share that there is a warning message :

"incomplete final line found on 'C:\Users......."

Also the redirect_uri and redirect_uri_logout in the config file needs a "/" at the end of the url. Might trip some people up during the testing. =)

dietrichson commented 4 years ago

@SVPA-PeterTat This is likely due to the config.yml file being edited in Rstudio. If you add a line at the end, it may insert a "smart" tab. I have been able to fix the warning by deleting this tab, and leaving an empty (i.e. completely empty) line at the end of the config. The warning comes from the config package.

I am using linux, so not sure if the fix will work for windows, but worth a try...