Skip to content

Login with Amazon (LWA) from IPv6 only VPC

0

The Alexa.Authorization.AcceptGrant directive includes an authorization code for LWA which my server code needs to exchange for access and refresh tokens. The token endpoint for is https://api dot amazon dot com/auth/o2/token. My server code is running on an EC2 instance on a VPC which is IPv6 only. However api dot amazon dot com does not appear to have an IPv6 address. Is there any way to call this endpoint in my setup?

Thanks

asked a month ago70 views

2 Answers
0
Accepted Answer

Thanks for all the responses. For the best approach is to allocate a public IPv4 address and then plan to create a proxy using lambda and API gateway.

answered a month ago

0

Hello.

How about using NAT64 to convert from an IPv6 address to an IPv4 address?
This would allow you to access destinations that only support IPv4.
https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-nat64-dns64.html

EXPERT

answered a month ago

AWS
SUPPORT ENGINEER

reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.