I’m looking high and low for this:
:session_secret
maybe I’m doing something wrong but my get '/'
doesn’t even create an access token so something is going on that I can’t seem to find.
Here’s the code:
#
# Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
#
# Define our dependencies
require 'sinatra'
require 'oauth2'
require 'securerandom'
require 'json'
# Define our configurations. This is only done for illustrative purposes.
# It is STRONGLY recommended that you do not store application secrets on your file system or in your source code.
configure do
enable :sessions
This file has been truncated. show original
system
Closed
February 14, 2018, 6:22am
2
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.