Glory optical phenonmenon from an airplane

On a recent flight, I looked out the window and saw what seemed to be a circular rainbow. It was following the plane, and I could see the shadow of the plane in the middle. I’d never seen anything like it, so I didn’t know how it was formed, but I now know it was a glory, and they are different than rainbows.